namespace Xms.Abp.Data;

[Serializable]
public abstract class EntityResult : IEntityResult
{
    public override string ToString()
    {
        return $"[DTO: {GetType().Name}]";
    }
}

[Serializable]
public abstract class EntityResult<TKey> : EntityResult, IEntityResult<TKey>
{
    public TKey Id { get; set; }

    public override string ToString()
    {
        return $"[DTO: {GetType().Name}] Id = {Id}";
    }
}
